package com.rd.teacher.jichao.day02;

public enum WeekDayyy {

    SUN(0),MON(1),TUE(2),WED(3),
    THU(4),FRI(5),SAT(6);

    private final int num;

    WeekDayyy(int num){
        this.num = num;
    }


    public static void main(String[] args) {
        WeekDayyy dayyy = WeekDayyy.SUN;
        System.out.println(dayyy == WeekDayyy.SUN);
        System.out.println(dayyy.equals(WeekDayyy.SUN));
    }
}

